<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@taglib prefix="s" uri="http://java.sun.com/jsp/jstl/core"%>
<%@include file="/WEB-INF/views/include/inc.jsp" %>
<!DOCTYPE html>
<html lang="zh">
<head>
<%@include file="/WEB-INF/views/include/head.jsp" %>
<!-- Sweet Alert -->
    <link href="<%=contextPath%>/assets/hplus/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
</head>
  <body class="fixed-sidebar full-height-layout gray-bg">
    <div id="wrapper">
        <!--左侧导航开始-->
        <nav class="navbar-default navbar-static-side" role="navigation">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse">
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div class="dropdown profile-element">
                            <span><img alt="image" class="img" src="<%=contextPath%>/images/logo.png" /></span>
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                
                               <span class="block m-t-xs"><strong class="font-bold">
                               <shiro:user>  ${user_in_session.username}</shiro:user>
                               </strong></span>
                                <span class="text-muted text-xs block">${user_in_session.truename}<b class="caret"></b></span>
                                </span>
                            </a>
                            <ul class="dropdown-menu animated fadeInRight m-t-xs">
                                <li><a class="J_menuItem" href="form_avatar.html">修改头像</a>
                                </li>
                                <li><a class="J_menuItem" href="profile.html">个人资料</a>
                                </li>
                                <li><a class="J_menuItem" href="contacts.html">联系我们</a>
                                </li>
                                <li><a class="J_menuItem" href="mailbox.html">信箱</a>
                                </li>
                                <li class="divider"></li>
                                <li><a href="<%=contextPath%>/logout">安全退出</a>
                                </li>
                            </ul>
                        </div>
                        <div class="logo-element">UPMS
                        </div>
                    </li>
                    <s:forEach items="${menuList}" var="top" varStatus="status">
                    <s:choose>
               			<s:when test="${status.index ==0}">
               				 <li class="active">
               			</s:when>
               			<s:otherwise>
               				 <li>
               			</s:otherwise>
               		</s:choose>
                        <a href="#">
                            <i class="fa fa-home"></i>
                            <span class="nav-label">${top.name }</span>
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                        	<s:forEach items="${top.children }" var="menu">
	                            <li>
	                                <a class="J_menuItem" href="<%=contextPath %>/${menu.href }" data-index="${menu.id }" >${menu.name }</a>
	                            </li>
                            </s:forEach>
                        </ul>

                    </li>
                   </s:forEach>

                </ul>
            </div>
        </nav>
        <!--左侧导航结束-->
        <!--右侧部分开始-->
        <div id="page-wrapper" class="gray-bg dashbard-1">
            <div class="row border-bottom">
                <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                    <div class="navbar-header"><a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i> </a>
                        <form role="search" class="navbar-form-custom" method="post" action="http://www.zi-han.net/theme/hplus/search_results.html">
                            <div class="form-group">
                                <input type="text" placeholder="请输入您需要查找的内容 …" class="form-control" name="top-search" id="top-search">
                            </div>
                        </form>
                    </div>
                    <ul class="nav navbar-top-links navbar-right">
                        <li class="dropdown">
                            <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                                <i class="fa fa-envelope"></i> <span class="label label-warning">16</span>
                            </a>
                            <ul class="dropdown-menu dropdown-messages">
                                <li class="m-t-xs">
                                    <div class="dropdown-messages-box">
                                        <a href="profile.html" class="pull-left">
                                            <img alt="image" class="img-circle" src="<%=contextPath%>/assets/hplus/img/a7.jpg">
                                        </a>
                                        <div class="media-body">
                                            <small class="pull-right">46小时前</small>
                                            <strong>小四</strong> 这个在日本投降书上签字的军官，建国后一定是个不小的干部吧？
                                            <br>
                                            <small class="text-muted">3天前 2014.11.8</small>
                                        </div>
                                    </div>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <div class="dropdown-messages-box">
                                        <a href="profile.html" class="pull-left">
                                            <img alt="image" class="img-circle" src="<%=contextPath%>/assets/hplus/img/a4.jpg">
                                        </a>
                                        <div class="media-body ">
                                            <small class="pull-right text-navy">25小时前</small>
                                            <strong>国民岳父</strong> 如何看待“男子不满自己爱犬被称为狗，刺伤路人”？——这人比犬还凶
                                            <br>
                                            <small class="text-muted">昨天</small>
                                        </div>
                                    </div>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <div class="text-center link-block">
                                        <a class="J_menuItem" href="mailbox.html">
                                            <i class="fa fa-envelope"></i> <strong> 查看所有消息</strong>
                                        </a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <li class="dropdown">
                            <a class="dropdown-toggle count-info" data-toggle="dropdown" href="#">
                                <i class="fa fa-bell"></i> <span class="label label-primary">8</span>
                            </a>
                            <ul class="dropdown-menu dropdown-alerts">
                                <li>
                                    <a href="mailbox.html">
                                        <div>
                                            <i class="fa fa-envelope fa-fw"></i> 您有16条未读消息
                                            <span class="pull-right text-muted small">4分钟前</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <a href="profile.html">
                                        <div>
                                            <i class="fa fa-qq fa-fw"></i> 3条新回复
                                            <span class="pull-right text-muted small">12分钟钱</span>
                                        </div>
                                    </a>
                                </li>
                                <li class="divider"></li>
                                <li>
                                    <div class="text-center link-block">
                                        <a class="J_menuItem" href="notifications.html">
                                            <strong>查看所有 </strong>
                                            <i class="fa fa-angle-right"></i>
                                        </a>
                                    </div>
                                </li>
                            </ul>
                        </li>
                        <li class="hidden-xs">
                            <a href="indexLayout" class="J_menuItem" data-index="0"><i class="fa fa-cart-arrow-down"></i> 购买</a>
                        </li>
                        <li class="dropdown hidden-xs">
                            <a class="right-sidebar-toggle" aria-expanded="false">
                                <i class="fa fa-tasks"></i>主题
                            </a>
                        </li>
                    </ul>
                </nav>
            </div>
            <div class="row content-tabs">
                <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
                </button>
                <nav class="page-tabs J_menuTabs">
                    <div class="page-tabs-content">
                        <a href="javascript:;" class="active J_menuTab" data-id="index_v1.html">首页</a>
                    </div>
                </nav>
                <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
                </button>
                <div class="btn-group roll-nav roll-right">
                    <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>

                    </button>
                    <ul role="menu" class="dropdown-menu dropdown-menu-right">
                        <li class="J_tabShowActive"><a>定位当前选项卡</a>
                        </li>
                        <li class="divider"></li>
                        <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                        </li>
                        <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                        </li>
                    </ul>
                </div>
                <a href="<%=contextPath %>/logout" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
            </div>
            <div class="row J_mainContent" id="content-main">
                <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="<%=contextPath %>/sys/indexLayout" frameborder="0" data-id="index_v1.html" seamless></iframe>
            </div>
            <div class="footer">
                <div class="pull-right">&copy; 2015 <a href="http://www.taoyeshu.com/" target="_blank">淘野树</a>
                </div>
            </div>
        </div>
        <!--右侧部分结束-->
         <!--右侧边栏开始-->
        <div id="right-sidebar">
            <div class="sidebar-container">

                <ul class="nav nav-tabs navs-3">

                    <li class="active">
                        <a data-toggle="tab" href="#tab-1">
                            <i class="fa fa-gear"></i> 主题
                        </a>
                    </li>
                    <li class=""><a data-toggle="tab" href="#tab-2">
                        通知
                    </a>
                    </li>
                    <li><a data-toggle="tab" href="#tab-3">
                        项目进度
                    </a>
                    </li>
                </ul>

                <div class="tab-content">
                    <div id="tab-1" class="tab-pane active">
                        <div class="sidebar-title">
                            <h3> <i class="fa fa-comments-o"></i> 主题设置</h3>
                            <small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式，这些设置会被保存在本地，下次打开的时候会直接应用这些设置。</small>
                        </div>
                        <div class="skin-setttings">
                            <div class="title">主题设置</div>
                            <div class="setings-item">
                                <span>收起左侧菜单</span>
                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu">
                                        <label class="onoffswitch-label" for="collapsemenu">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="setings-item">
                                <span>固定顶部</span>

                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar">
                                        <label class="onoffswitch-label" for="fixednavbar">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="setings-item">
                                <span>
                        固定宽度
                    </span>

                                <div class="switch">
                                    <div class="onoffswitch">
                                        <input type="checkbox" name="boxedlayout" class="onoffswitch-checkbox" id="boxedlayout">
                                        <label class="onoffswitch-label" for="boxedlayout">
                                            <span class="onoffswitch-inner"></span>
                                            <span class="onoffswitch-switch"></span>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div class="title">皮肤选择</div>
                            <div class="setings-item default-skin nb">
                                <span class="skin-name ">
                         <a href="#" class="s-skin-0">
                             默认皮肤
                         </a>
                    </span>
                            </div>
                            <div class="setings-item blue-skin nb">
                                <span class="skin-name ">
                        <a href="#" class="s-skin-1">
                            蓝色主题
                        </a>
                    </span>
                            </div>
                            <div class="setings-item yellow-skin nb">
                                <span class="skin-name ">
                        <a href="#" class="s-skin-3">
                            黄色/紫色主题
                        </a>
                    </span>
                            </div>
                        </div>
                    </div>
                    <div id="tab-2" class="tab-pane">

                        <div class="sidebar-title">
                            <h3> <i class="fa fa-comments-o"></i> 最新通知</h3>
                            <small><i class="fa fa-tim"></i> 您当前有10条未读信息</small>
                        </div>

                        <div>

                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a1.jpg">

                                        <span class="m-t-xs">
                                            <i class="fa fa-star text-warning"></i>
                                            <i class="fa fa-star text-warning"></i>
                                        </span>
                                    </span>
                                    <span class="media-body">

                                        据天津日报报道：瑞海公司董事长于学伟，副董事长董社轩等10人在13日上午已被控制。
                                        <br>
                                        <small class="text-muted">今天 4:21</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a2.jpg">
                                    </span>
                                    <span class="media-body">
                                        HCY48之音乐大魔王会员专属皮肤已上线，快来一键换装拥有他，宣告你对华晨宇的爱吧！
                                        <br>
                                        <small class="text-muted">昨天 2:45</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a3.jpg">

                                        <span class="m-t-xs">
                                            <i class="fa fa-star text-warning"></i>
                                            <i class="fa fa-star text-warning"></i>
                                            <i class="fa fa-star text-warning"></i>
                                        </span>
                                    </span>
                                    <span class="media-body">
                                        写的好！与您分享
                                        <br>
                                        <small class="text-muted">昨天 1:10</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a4.jpg">
                                    </span>

                                    <span class="media-body">
                                        国外极限小子的炼成！这还是亲生的吗！！
                                        <br>
                                        <small class="text-muted">昨天 8:37</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a8.jpg">
                                    </span>
                                    <span class="media-body">

                                        一只流浪狗被收留后，为了减轻主人的负担，坚持自己觅食，甚至......有些东西，可能她比我们更懂。
                                        <br>
                                        <small class="text-muted">今天 4:21</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a7.jpg">
                                    </span>
                                    <span class="media-body">
                                        这哥们的新视频又来了，创意杠杠滴，帅炸了！
                                        <br>
                                        <small class="text-muted">昨天 2:45</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a3.jpg">

                                        <span class="m-t-xs">
                                            <i class="fa fa-star text-warning"></i>
                                            <i class="fa fa-star text-warning"></i>
                                            <i class="fa fa-star text-warning"></i>
                                        </span>
                                    </span>
                                    <span class="media-body">
                                        最近在补追此剧，特别喜欢这段表白。
                                        <br>
                                        <small class="text-muted">昨天 1:10</small>
                                    </span>
                                </a>
                            </div>
                            <div class="sidebar-message">
                                <a href="#">
                                    <span class="pull-left text-center">
                                        <img alt="image" class="img-circle message-avatar" src="<%=contextPath%>/assets/hplus/img/a4.jpg">
                                    </span>
                                    <span class="media-body">
                                        我发起了一个投票 【你认为下午大盘会翻红吗？】
                                        <br>
                                        <small class="text-muted">星期一 8:37</small>
                                    </span>
                                </a>
                            </div>
                        </div>

                    </div>
                    <div id="tab-3" class="tab-pane">

                        <div class="sidebar-title">
                            <h3> <i class="fa fa-cube"></i> 最新任务</h3>
                            <small><i class="fa fa-tim"></i> 您当前有14个任务，10个已完成</small>
                        </div>

                        <ul class="sidebar-list">
                            <li>
                                <a href="#">
                                    <span class="small pull-right m-t-xs">9小时以后</span>
                                    <h4>市场调研</h4> 按要求接收教材；

                                    <span class="small">已完成： 22%</span>
                                    <span class="progress progress-mini">
                                        <span style="width: 22%;" class="progress-bar progress-bar-warning"></span>
                                    </span>
                                    <span class="small text-muted m-t-xs">项目截止： 4:00 - 2015.10.01</span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="small pull-right m-t-xs">9小时以后</span>
                                    <h4>可行性报告研究报上级批准 </h4> 编写目的编写本项目进度报告的目的在于更好的控制软件开发的时间,对团队成员的 开发进度作出一个合理的比对

                                    <span class="small">已完成： 48%</span>
                                    <span class="progress progress-mini">
                                        <span style="width: 48%;" class="progress-bar"></span>
                                    </span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="small pull-right m-t-xs">9小时以后</span>
                                    <h4>立项阶段</h4> 东风商用车公司 采购综合综合查询分析系统项目进度阶段性报告武汉斯迪克科技有限公司

                                    <span class="small">已完成： 14%</span>
                                    <span class="progress progress-mini">
                                        <span style="width: 14%;" class="progress-bar progress-bar-info"></span>
                                    </span>
                                </a>
                            </li>
                            <li>
                                <a href="#">
                                    <span class="label label-primary pull-right">NEW</span>
                                    <h4>设计阶段</h4>
                                    <!--<div class="small pull-right m-t-xs">9小时以后</span>-->
                                    项目进度报告(Project Progress Report)
                                    <span class="small">已完成： 22%</span>
                                    <span class="small text-muted m-t-xs">项目截止： 4:00 - 2015.10.01</span>
                                </a>
                            </li>
                       

                        </ul>

                    </div>
                </div>

            </div>
        </div>
        <!--右侧边栏结束-->
       
    </div>
    

    <%@include file="/WEB-INF/views/include/foot.jsp"%>
    
    <script src="<%=contextPath %>/assets/hplus/js/plugins/metisMenu/jquery.metisMenu.js"></script>
	<script src="<%=contextPath %>/assets/hplus/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
	<script src="<%=contextPath %>/assets/hplus/js/hplus.min.js"></script>
	
	<script type="text/javascript" src="<%=contextPath %>/assets/hplus/js/contabs.min.js"></script>
	<script src="<%=contextPath %>/assets/hplus/js/plugins/pace/pace.min.js"></script>
		<!-- Sweet alert -->
    <script src="<%=contextPath%>/assets/hplus/js/plugins/sweetalert/sweetalert.min.js"></script>
</body>
</html>